loans-api
create loan limit
Environment | Method | URL |
---|---|---|
Mock | POST | https://eu1.anypoint.mulesoft.com/mocking/api/v1/sources/exchange/assets/b83f053f-2270-498d-88d6-a7fa1a88abcb/loans-exp-api/1.0.46/m/loans/limit |
Dev | POST | NA |
Stage | POST | https://maictrlstg01.nbirq.com/loans-api/v1/loans/limit |
Prod | POST | NA |
Description: This endpoint is used to create loan limit based on the below json request.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: Na
Query Params: NA
Content-type: application/json
Mulesoft Request
To use the service to create loan limit, the value in the arrangement field should be "NEW"
{
"customerId": "1000067579",
"currency": "IQD",
"product": "600",
"amount": "1000",
"reviewFrequency": "20240403M0101",
"fixedVariable": "FIXED",
"facilityPurpose": "10",
"maturityDate": "20230122"
}
Mulesoft Response In Case Of Create:
Success Response: (200)
{
"status": {
"success": "true",
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"limitReference": "LI2309301344",
"countryOfRisk": "IQ",
"countryPercent": "100",
"approvalDate": "20230403",
"offeredUntill": "20230403",
"expiryDate": "20240403",
"proposalDate": "20230403",
"onlineLimitDate": "20230403",
"internalAmount": "1000.000",
"availableMarker": "Y",
"limitProduct": "600",
"losLimitId": []
}
}